<html>
<body>
<h2>Hello World!</h2>
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-3.1.0.min.js"></script>
<script>
    $(function () {
        $("#testJson").click(function () {
            var url = this.href;
            var args = {};
            $.post(url, args, function (data) {
                for (var i = 0; i < data.length; i++) {
                    var id = data[i].id;
                    var lastName = data[i].lastName;
                    alert(id + ":" + lastName);
                }
            });
            return false;
        });
    })
</script>

</body>




<form action="testFileUpload" method="post" enctype="multipart/form-data" >
    File:<input type="file" name="file" />
    Desc:<input type="text" name="desc" />
    <input type="submit" value="submit" />
</form>

<br><br>

<a href="emps">emp</a>

<br>

<a href="testJson" id="testJson">Test Json</a>

<br><br>

<form action="testHttpMessageConverter" method="post" enctype="multipart/form-data" >
    File:<input type="file" name="file" />
    Desc:<input type="text" name="desc" />
    <input type="submit" value="submit" />
</form>

<br><br>
<a href="testResponseEntity">testResponseEntity</a>

<br><br>
<a href="testExceptionHandlerExceptionResoler?i=10">test ExceptionHandlerExceptionResoler</a>

<br><br>
<a href="testResponseStatusExceptionResolve?i=10">test ResponseStatusExceptionResolve</a>
<br><br>
<a href="testDefualtHandlerExceptionResolver">test DefualtHandlerExceptionResolver</a>
<br><br>
<a href="testSimpleMappingExceptionResolver?i=2">test SimpleMappingExceptionResolver</a>


</html>
